package com.xuliugen.rpc.protocol;

import java.io.Serializable;

/**
 * 传输协议对象
 * @author xuliugen
 * @date 2018/6/6
 */
public class InvokerMessage implements Serializable {

    /**
     * 序列化ID
     */
    private static final long serialVersionUID = 5902575207123468947L;

    /**
     * 类名
     */
    private String className;

    /**
     * 方法名称
     */
    private String methodName;

    /**
     * 参数类型
     */
    private Class<?>[] paramTypes;

    /**
     * 参数值列表
     */
    private Object[] paramValues;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParamTypes() {
        return paramTypes;
    }

    public void setParamTypes(Class<?>[] paramTypes) {
        this.paramTypes = paramTypes;
    }

    public Object[] getParamValues() {
        return paramValues;
    }

    public void setParamValues(Object[] paramValues) {
        this.paramValues = paramValues;
    }
}
